$(function () {
	//引入头部底部
	$(".hc-head").load("/page/component/head.html", null, function () {
		resizeBase()
		menuInit();
		clactive();
	});
	$(".hc-foot").load("/page/component/foot.html");
	resizeBase()
	$(window).on("resize", function () {
		$(".hc-nav").removeClass("open");
		$(".hc-nav").find("ul.hc_submenu").remove();
		$(".hc-nav>li").removeClass("active");
		resizeBase()
	});


});
function resizeBase() {
	var baseW = $(window).width();
	var cwidth = 1600;
	if (baseW >= cwidth) {
		$("html").css({
			"font-size": "100px"
		});
	} else if (baseW >= 750) {
		$("html").css({
			"font-size": baseW / cwidth * 100 + "px"
		});
	} else {
		$("html").css({
			"font-size": "40px"
		});
	}

}

//菜单数据
var menuData = [
	{
		id: "cpyfw",
		name: "产品与服务",
		desc: "",
		children: [
			{
				id: "cpyfw-gyhlwczxt",
				name: "工业互联网操作系统",
				desc: "",
				active: true,
				children: [
					{
						id: "",
						name: "IAP OS",
						desc: "完全自主研发、全球独创的控制层跨平台工业互联网操作系统",
						icon: "icon-xitong",
						url: "/page/productDetail/iap.html",
					},
					{
						id: "",
						name: "IAP cloudbox云盒",
						desc: "基于docker容器技术及其API构件、具备可视化运维后台的小型计算环境",
						icon: "icon-box",
						url: "/page/productDetail/Internet/2/2.html",
					},
					{
						id: "",
						name: "IAP web可视化平台软件",
						desc: "基于纯HTML5技术和当下主流框架所构建的一款图形化组态开发平台",
						icon: "icon-keshihuashujuETL",
						url: "/page/productDetail/Internet/3/3.html",
					},
					{
						id: "",
						name: "IAP box通用网关",
						desc: "支持各种协议的数据采集，具备边缘计算、断网续传、远程运维等功能",
						icon: "icon-wangguan",
						url: "/page/productDetail/Internet/4/4.html",
					},
					{
						id: "",
						name: "IAP db工业数据库",
						desc: "为数据边缘层提供工业数据在云端的数据汇集、分析、处理、存储等服务",
						icon: "icon-shujujicheng-",
						url: "/page/productDetail/Internet/5/5.html",
					},
					{
						id: "",
						name: "IAP cloud爱普云",
						desc: "提供自主设计与运维的云服务生态系统，实现工业大数据的挖掘和利用",
						icon: "icon-danxingyunfuwuqi",
						url: "/page/productDetail/Internet/6/6.html",
					},
				],
			}, {
				id: "cpyfw-ptjcp",
				name: "平台级产品",
				desc: "",
				children: [
					{
						id: "",
						name: "海创EAP平台 ",
						desc: "在线低代码开发平台，提供企业统一应用信息化解决方案",
						icon: "icon-didaimakaifa",
						url: "/page/productDetail/eap.html",
					},
					{
						id: "",
						name: "海创PaaS平台",
						desc: "集成工业数据分析与建模能力，构建行业知识、经验数字化模型",
						icon: "icon-gongyehulianwang",
						url: "/page/productDetail/platform/2/2.html",
					},
					{
						id: "",
						name: "大数据平台",
						desc: "基于云计算的智能化工业大数据平台",
						icon: "icon-dashujupingtai",
						url: "/page/productDetail/platform/5/5.html",
					},

					{
						id: "",
						name: "海创E联",
						desc: "融合海创生态供应商设备和业务交互系统，同时能集成企业现有工业设备，建立工业数据资产",
						icon: "icon-server-connection",
						url: "/page/productDetail/platform/4/4.html",
					},
					{
						id: "",
						name: "物联网平台 ",
						desc: "提供海量的设备的入网、 数据采集、存储、信息推送及设备状态监控、管理、远程编程、维护等功能",
						icon: "icon-wulianwang",
						url: "/page/productDetail/iot.html",
					},
				],
			}, {
				id: "cpyfw-yyjcp",
				name: "应用级产品",
				desc: "",
				children: [
					{
						id: "",
						name: "数字孪生系统",
						desc: "工业企业3D场景搭建工具，轻量化浏览，海量模型资源，自由搭建场景",
						icon: "icon-shuziluansheng",
						url: "/page/productDetail/application/1/1.html",
					},
					{
						id: "",
						name: "机联网系统",
						desc: "实现设备数据采集、状态监控、设备维修、设备分析，实现对联网设备的在线监测与预测性维护",
						icon: "icon-shebeilianwangguanli",
						url: "/page/productDetail/application/2/2.html",
					},
					{
						id: "",
						name: "MES系统",
						desc: "基于生产现场管理的综合集成系统，解决ERP计划与生产车间之间的信息断层",
						icon: "icon-MOCKanban",
						url: "/page/productDetail/application/3/3.html",
					},
					{
						id: "",
						name: "智能仓储系统",
						desc: "建立协同性仓储管理，提高仓储数据流通性",
						icon: "icon-zhinengcangchu",
						url: "/page/productDetail/application/4/4.html",
					},
					{
						id: "",
						name: "安全生产管理系统",
						desc: "安全 生产过程中，人、机、物、环的事实监控",
						icon: "icon-icon_xinyong_xianxing_jijin-227",
						url: "/page/productDetail/application/5/5.html",
					},
					{
						id: "",
						name: "进销存管理系统",
						desc: "实现了库存、采购和销售的物流的整合，并且和生产、财务等子系统集成",
						icon: "icon-jinxiaocunguanli",
						url: "/page/productDetail/application/6/6.html",
					},
					{
						id: "",
						name: "生产报工系统",
						desc: "实现生产报工数据的实时、自动采集",
						icon: "icon-shengchanbaogong",
						url: "/page/productDetail/application/7/7.html",
					},
					{
						id: "",
						name: "能耗管理系统",
						desc: "全面提升能源的利用效率和智能化水平，实现能源控制、管理、运维一体化",
						icon: "icon-nenghaoguanli",
						url: "/page/productDetail/application/8/8.html",
					},
					{
						id: "",
						name: "移动巡检系统",
						desc: "以移动巡检为核心，构建的智能、高效的专业巡检管理系统",
						icon: "icon-yidongxunjian",
						url: "/page/productDetail/application/9/9.html",
					},
					{
						id: "",
						name: "企业协同管理系统",
						desc: "支持人力资源、项目管理、CRM管理、资产管理等业务应用无限扩展",
						icon: "icon-xietongguanli",
						url: "/page/productDetail/application/10/10.html",
					},
					{
						id: "",
						name: "基建MIS管理系统",
						desc: "一个贯穿发电企业基建工程全生命周期的综合信息管理系统",
						icon: "icon-jijianguanli",
						url: "",
					},
					{
						id: "",
						name: "考试培训系统",
						desc: "全面实现了培训、考试工作的网络化、无纸化、 自动化",
						icon: "icon-peixun",
						url: "/page/productDetail/application/12/12.html",
					},
					{
						id: "",
						name: "设备管理系统",
						desc: "构建设备资产管理的全生命周期管理，全程管控设备的立项采购、运行、保养、维护、故障等...过程",
						icon: "icon-icon",
						url: "/page/productDetail/application/13/13.html",
					},

				],
			}
		]
	},
	{
		id: "jjfa",
		name: "解决方案",
		desc: "",
		children: [
			{
				id: "jjfa-zzhy",
				name: "制造行业",
				desc: "",
				active: true,
				children: [
					// {
					// 	id: "",
					// 	name: "经编生产管理系统解决方案",
					// 	desc: " 去“粗”取“精”，打造数字化车间，实现生产全流程精细化管理",
					// 	icon: "icon-shengchanguanli1",
					// 	url: "/page/solutionDetail/manufacture/12/12.html",
					// },
					// {
					// 	id: "",
					// 	name: "智能制造解决方案",
					// 	desc: "通过数据建模、大数据分析技术，实现数据的智能化应用，提高终端客户在设备使用和管理上的精益化水平",
					// 	icon: "icon-icon-test",
					// 	url: "/page/solutionDetail/manufacture/13/13.html",
					// },
					{
						id: "",
						name: "智能机加工解决方案",
						desc: "在降低成本的前提下，实现智能产品的大规模定制的自我调整生产",
						icon: "icon-jijiagong",
						url: "/page/solutionDetail/manufacture/1/1.html",
					},
					{
						id: "",
						name: "M5生产管理系统解决方案",
						desc: "为客户量身打造的“透明化生产、数字化车间、智能化工厂”的智能制造管理解决方案",
						icon: "icon-shengchanguanli",
						url: "/page/solutionDetail/manufacture/2/2.html",
					},
					{
						id: "",
						name: "M3生产管理系统解决方案",
						desc: "M3专为成长型企业打造可视化生产管理",
						icon: "icon-keshihua",
						url: "/page/solutionDetail/manufacture/3/3.html",
					},
					{
						id: "",
						name: "纺织行业智能制造解决方案",
						desc: "将工厂的大量的人、信息和机器通过ICT技术完成互连，将全部生产要素联成统一的工业互联网",
						icon: "icon-fangzhijixie",
						url: "/page/solutionDetail/manufacture/4/4.html",
					},
					{
						id: "",
						name: "纺织MES解决方案",
						desc: "纺织MES，是面向纺织企业车间执行层的生产信息一体化应用解决方案",
						icon: "icon-fangzhichejian",
						url: "/page/solutionDetail/manufacture/5/5.html",
					},
					{
						id: "",
						name: "锂电智能制造MES解决方案",
						desc: "集可追溯性、生产控制和企业级系统集成功能于一体的完整生产执行解决方案",
						icon: "icon-lidianchi",
						url: "/page/solutionDetail/manufacture/6/6.html",
					},
					// {
					// 	id: "",
					// 	name: "纺织车间智能物流AGV系统解决方案",
					// 	desc: "支持各种协议的数据采集，具备边缘计算、断网续传、远程运维等功能",
					// 	icon: "icon-AGV",
					// 	url: "javascript:;",
					// },
					// {
					// 	id: "",
					// 	name: "三维数字孪生平台解决方案",
					// 	desc: "构建面向未来智能工厂全场景的全息交互模式，实现物理空间与数字空间混合的3D数字孪生平台",
					// 	icon: "icon-a-icon-daohang-shuziluansheng-moren2x",
					// 	url: "javascript:;",
					// },
					// {
					// 	id: "",
					// 	name: "区域纺织云工业互联网行业云平台解决方案",
					// 	desc: "提供自主设计与运维的云服务生态系统，实现工业大数据的挖掘和利用",
					// 	icon: "icon-quyufangzhi",
					// 	url: "javascript:;",
					// },
					{
						id: "",
						name: "智慧纺织数字化转型解决方案",
						desc: "支持各种协议的数据采集，具备边缘计算、断网续传、远程运维等功能",
						icon: "icon-fangzhishuzihua",
						url: "/page/solutionDetail/manufacture/10/10.html",
					},
					{
						id: "",
						name: "设备联网管理平台解决方案",
						desc: "利用新一代信息技术，实现设备数据采集、状态监控、设备维修、设备分析，实现对联网设 备的在线监测与预测性维护。",
						icon: "icon-shebeilianwangguanli",
						url: "/page/solutionDetail/manufacture/11/11.html",
					},
				],
			},
			{
				id: "jjfa-kshy",
				name: "矿山行业",
				desc: "",
				children: [
					{
						id: "",
						name: "在线培训考试系统解决方案",
						desc: "实现统一管理教材、课程、题库、自动组卷、自动判卷，并提供丰富的报表统计功能，极大的节省了人力、物力、财力，提高了效率。",
						icon: "icon-peixun",
						url: "/page/solutionDetail/mine/1/1.html",
					},
					{
						id: "",
						name: "矿山生产管控(MES)系统解决方案",
						desc: "对矿山生产数据进行统一采集、集中监控、合理分析,形成一个完整的“矿山管控一体化”综合应用系统",
						icon: "icon-kuangshan",
						url: "/page/solutionDetail/mine/2/2.html",
					},
					{
						id: "",
						name: "矿山数据采集系统解决方案",
						desc: "将分散的控制系统、生产调度系统和管理决策系统有机地集成起来,不同业务和系统间能够实时的交换和共享数据。",
						icon: "icon-suyaniconchanpinleibufenzuodaohangbufen84",
						url: "/page/solutionDetail/mine/3/3.html",
					},
					{
						id: "",
						name: "矿山行业设备管理系统解决方案 ",
						desc: "实现设备全寿命周期的监测、追溯，促进设备管理的持续优化与改进的方案",
						icon: "icon-icon",
						url: "/page/solutionDetail/mine/4/4.html",
					},
					{
						id: "",
						name: "矿山云巡检管理系统解决方案",
						desc: "通过移动端和云应用端的配合，实现巡检数据采集的网络化和存储的安全化，真正实现智能化巡检管理",
						icon: "icon-shujucaiji",
						url: "/page/solutionDetail/mine/5/5.html",
					},
					{
						id: "",
						name: "矿山运维服务解决方案",
						desc: "将建立一个强势且一致性的质量文化，用最低的成本和最快的速度完成面向用户的价值交付。",
						icon: "icon-yunweifuwujicheng",
						url: "/page/solutionDetail/mine/6/6.html",
					},
					{
						id: "",
						name: "矿业安全生产管理解决方案",
						desc: "采用现代化的管理手段，加强对安全生产过程中，人、机、物、环、管安全要素实时监控",
						icon: "icon-icon_xinyong_xianxing_jijin-227",
						url: "/page/solutionDetail/mine/7/7.html",
					},
					{
						id: "",
						name: "铜矿自动化控制系统解决方案",
						desc: "采用现代高新技术和符合露天矿生产实际的最优化模型,彻底改变了传统的生产管理模式",
						icon: "icon-dianqizidonghua",
						url: "javascript:;",
					},
					{
						id: "",
						name: "金精粉选矿全流程自动化控制系统解决方案",
						desc: "以稳定工艺参数、生产的正常运行和改善劳动强度为原则，充分发挥设备效率",
						icon: "icon-liuchengzidonghua",
						url: "javascript:;",
					},
				],
			},
			{
				id: "jjfa-shy",
				name: "水行业",
				desc: "",
				children: [
					{
						id: "",
						name: "智慧水利解决方案",
						desc: "随着能耗问题日益突显，如何实现能耗管理和能源成本最小化成为中国的首要任务。",
						icon: "icon-zhihuishuili",
						url: "/page/solutionDetail/water/1/1.html",
					},
					{
						id: "",
						name: "智慧水库解决方案",
						desc: "实现水库信息自动采集、传输、应用、安全管理等",
						icon: "icon-shuiku",
						url: "/page/solutionDetail/water/2/2.html",
					},
					{
						id: "",
						name: "水系联排联调解决方案",
						desc: "实现集智慧调度、监测预警 控制响应、规范业务管理为一体的联排联调智慧水务平台。",
						icon: "icon-shuixilianpailiantiao",
						url: "/page/solutionDetail/water/3/3.html",
					},
					{
						id: "",
						name: "智慧水务行业解决方案",
						desc: "通过监测设备实时感知城市供排水系统运行状态，采用可视化方式整合水务管理部门与供排水设施",
						icon: "icon-shuiwuhangye",
						url: "javascript:;",
					},
					{
						id: "",
						name: "水质监测管理解决方案",
						desc: "基于海创微联网开发的，利用信息与通信技术来感知、监测、分析和整合指定区域水质的变化情况",
						icon: "icon-jishuijiance",
						url: "/page/solutionDetail/water/5/5.html",
					},
					{
						id: "",
						name: "城乡智慧供水一体化解决方案",
						desc: "整合供水信息资源，保障供水安全，形成统一的建设管理、运营、运行维护应用体系",
						icon: "icon-beikongshuiwupingtaimenhu-tubiao_gongshuiguanlipingtai",
						url: "/page/solutionDetail/water/6/6.html",
					},
				],
			},
			{
				id: "jjfa-nyhy",
				name: "能源行业",
				desc: "",
				children: [
					{
						id: "",
						name: "智慧燃气安全管理解决方案",
						desc: "提高整体管理能力，加强燃气管网的安全监管，降低企业的运营成本",
						icon: "icon-ranqianquan",
						url: "javascript:;",
					},
					{
						id: "",
						name: "智慧校园能耗管理解决方案",
						desc: "为各大院校提供了完善可靠的远程集中可测、可监、可控、可视的智能化手段，进一步提升了安全性",
						icon: "icon-xiaoyuan2",
						url: "/page/solutionDetail/energy/2/2.html",
					},
					{
						id: "",
						name: "能源管理系统(EMS)解决方案",
						desc: "实现能源平衡优化及调度，实现能耗经济指标及绩效考核指标",
						icon: "icon-nengyuanguanlixitong",
						url: "javascript:;",
					},
					{
						id: "",
						name: "智慧工业能耗管理解决方案",
						desc: "为各工厂提供了完善可靠的远程集中可测、可监、可控、可视的智能化手段，进一步提升了安全性",
						icon: "icon-zhihuigongyezhijian",
						url: "/page/solutionDetail/energy/4/4.html",
					},
					{
						id: "",
						name: "物联网综合能源管控系统解决方案",
						desc: "为各大用电场所提供了完善可靠的远程集中可测、可监、可控、可视的智能化手段，进一步提升了安全性",
						icon: "icon-zonghenengyuanfuwu",
						url: "/page/solutionDetail/energy/5/5.html",
					},

				],
			},
			{
				id: "jjfa-gyyq",
				name: "工业园区",
				desc: "",
				children: [
					{
						id: "",
						name: "智慧园区解决方案",
						desc: "整合了园区人、机、物设备统计调配，实现跨应用跨平台融合，在一套平台上集成各类管理业务。",
						icon: "icon-zhihuiyuanqu",
						url: "/page/solutionDetail/park/1/1.html",
					},
					{
						id: "",
						name: "互联网+智慧产业园解决方案",
						desc: "集成园区内各项设备设施管理系统、将原来单独运行的各项子系统操作集成，数据集成",
						icon: "icon-zhihuichanyeyuanicon",
						url: "/page/solutionDetail/park/2/2.html",
					},
				],
			},
			{
				id: "jjfa-szhy",
				name: "市政行业",
				desc: "",
				children: [
					{
						id: "",
						name: "智慧街区管理解决方案",
						desc: "以感知为核心，智慧化推动系统集成及实施，实现智慧管理、智慧服务、智慧体验、智慧运营。",
						icon: "icon-zhihuijiequguanli",
						url: "/page/solutionDetail/municipal/1/1.html",
					},
					{
						id: "",
						name: "智慧路灯解决方案",
						desc: "有效控制能源消耗，节省电力资源，提升管理水平，降低维护和管理成本。",
						icon: "icon-zhihuiludeng",
						url: "/page/solutionDetail/municipal/2/2.html",
					},
					{
						id: "",
						name: "智能垃圾分类解决方案",
						desc: "破解垃圾分类难题，推进垃圾“源头减量、全程分类，末端资源化利用、无害化”。",
						icon: "icon-lajifenleihuishou",
						url: "/page/solutionDetail/municipal/3/3.html",
					},
					{
						id: "",
						name: "智慧城市解决方案",
						desc: "感知城市全域数据、融合多源异构数据、释放沉睡数据价值、夯实智能城市基底，赋能智能城市应用，构建智能城市新生态。",
						icon: "icon-zhihuichengshi1",
						url: "/page/solutionDetail/municipal/7/7.html",
					},
					{
						id: "",
						name: "智能安防解决方案",
						desc: "远程现场管控，优化人员管理，落实制度，后台人员随时随地查看现场作业情况，随时取证。",
						icon: "icon-anfanglouyuguanli",
						url: "/page/solutionDetail/municipal/4/4.html",
					},
					{
						id: "",
						name: "智能消防解决方案",
						desc: "一人一帽，精准定位，优化人员管理，落实消防制度，做好人员管控，提高出警效率。	",
						icon: "icon-xiaofanggongcheng",
						url: "/page/solutionDetail/municipal/5/5.html",
					},
					{
						id: "",
						name: "地铁综合监控系统解决方案",
						desc: "通过建立共享数据库，实现各相关子系统数据的统一管理，提高数据利用层次。",
						icon: "icon-ditie",
						url: "/page/solutionDetail/municipal/6/6.html",
					},
				],
			}
		]
	},
	{
		id: "yysc",
		name: "应用市场",
		desc: "",
		children: [
			{
				id: "yysc-qyyy",
				name: "企业应用",
				desc: "",
				active: true,
				children: [
					{
						id: "",
						name: "企业管理",
						desc: "",
						children: [
							{
								id: "",
								name: "BI报表",
								desc: "构造不同部门的业务模型，最终生成业务报表、数据驾驶舱等分析应用",
								icon: "icon-BIbaobiao",
								url: "/page/appdetail/enterpriseApp/enterprise/1/1.html",
							},
							{
								id: "",
								name: "在线培训考试系统",
								desc: "全面实现了培训、考试工作的网络化、无纸化、自动化",
								icon: "icon-zaixianpeixun",
								url: "/page/appdetail/enterpriseApp/enterprise/2/2.html",
							},
							{
								id: "",
								name: "财务软件",
								desc: "打造具备实时、智能、精细、多维、可视、生态的企业数智化财务云服务平台，助力企业财务数字化转型",
								icon: "icon-caiwuruanjian",
								url: "",
							},
							{
								id: "",
								name: "高风险作业可视化管理系统",
								desc: "解决安全生产现场作业过程中的问题，实现感知、分析、服务、指挥、监管“五位一体”",
								icon: "icon-fengxiankeshihua",
								url: "/page/appdetail/enterpriseApp/enterprise/4/4.html",
							},
							{
								id: "",
								name: "巨纵智慧物联资产管理系统",
								desc: "解决资产设备（购入到报废）全周期中（使用/管理/维护）所有相关类问题",
								icon: "icon-zichanguanli",
								url: "/page/appdetail/enterpriseApp/enterprise/5/5.html",
							},
							{
								id: "",
								name: "综合业务监管平台",
								desc: "支持对所有网络设备、主机系统、应用及服务等IT基础设施进行全方位、多维度、可视化的统一管理",
								icon: "icon-yewujianguan",
								url: "/page/appdetail/enterpriseApp/enterprise/6/6.html",
							},
						]
					},
					{
						id: "",
						name: "研发设计",
						desc: "",
						children: [
							{
								id: "",
								name: "PLM",
								desc: "把企业研发设计和工艺制造过程中所有与产品相关的信息和过程集成起来统一管理",
								icon: "icon-yanfasheji",
								url: "/page/appdetail/enterpriseApp/designing/1/1.html",
							},
							{
								id: "",
								name: "数字孪生平台",
								desc: "通过51WORLD数字孪生场景构建平台，将物理世界真实的数字化全要素场景，形成孪生的数字世界",
								icon: "icon-shuziluansheng1",
								url: "/page/appdetail/enterpriseApp/designing/2/2.html",
							},
						]
					},
					{
						id: "",
						name: "采购供应",
						desc: "",
						children: [
							{
								id: "",
								name: "CRM",
								desc: "实现市场营销、销售、服务等活动自动化， 并建立一个客户信息的收集、管理、分析、利用的系统",
								icon: "icon-zidonghua",
								url: "/page/appdetail/enterpriseApp/purchase/1/1.html",
							},
							{
								id: "",
								name: "SCM",
								desc: "实现整体供应链可视化、管理信息化、整体利益最大化和成本最小化，提高整体供应链系统管理水平",
								icon: "icon-gongyingliankeshihua",
								url: "",
							},
						]
					},
					{
						id: "",
						name: "生产制造",
						desc: "",
						children: [
							{
								id: "",
								name: "MES生产管理系统",
								desc: "解决ERP计划与生产车间之间的信息断层",
								icon: "icon-message",
								url: "/page/appdetail/enterpriseApp/manufacture/1/1.html",
							},
							{
								id: "",
								name: "EAM设备管理系统",
								desc: "实现 设备资产管理与设备日常运行管理的无缝对接",
								icon: "icon-shebeiguanli",
								url: "/page/appdetail/enterpriseApp/manufacture/2/2.html",
							},
							{
								id: "",
								name: "安全生产管理系统",
								desc: "围绕人、机、物、环、法等生产要素，构建智慧安全生产管理平台",
								icon: "icon-icon_xinyong_xianxing_jijin-227",
								url: "/page/appdetail/enterpriseApp/manufacture/3/3.html",
							},
							{
								id: "",
								name: "设备联网运维平台",
								desc: "以降低成本、提高效率为导向，追求设备生产效益的最大化",
								icon: "icon-shebeiweihu",
								url: "/page/appdetail/enterpriseApp/manufacture/4/4.html",
							},
						]
					},
					{
						id: "",
						name: "仓储物流",
						desc: "",
						children: [
							{
								id: "",
								name: "WMS系统",
								desc: "有效控制并跟踪仓库业务的物流和成本管理全过程，实现或完善的企业仓储信息管理",
								icon: "icon-wuliucangchupeisong",
								url: "",
							},
							{
								id: "",
								name: "室内运送 AI机器人",
								desc: "实现批量物料自动装车，自动配送，节省人员的工作压力",
								icon: "icon-AIjiqiren",
								url: "/page/appdetail/enterpriseApp/storage/2/2.html",
							},
							{
								id: "",
								name: "智能驾驶重卡",
								desc: "适配多种车型的完整嵌入式解决方案，为高速物流、园区内/间仓到仓物流提供一站式方案支持",
								icon: "icon-zhinengjiashi",
								url: "/page/appdetail/enterpriseApp/storage/3/3.html",
							},
						]
					},
					{
						id: "",
						name: "安全",
						desc: "",
						children: [
							{
								id: "",
								name: "天锐绿盾数据防泄密系统",
								desc: "通过对电子文档的实时动态保护、操作全程跟踪，对各种可能造成泄密的途径进行控制",
								icon: "icon-shujufangxielou",
								url: "/page/appdetail/enterpriseApp/security/1/1.html",
							},
						]
					},

				],
			}, {
				id: "yysc-gyyj",
				name: "工业硬件",
				desc: "",
				children: [
					{
						id: "",
						name: "IOT物联网",
						desc: "",
						url: "",
						children: [
							{
								id: "",
								name: "边缘网关",
								desc: "面向IoT领域，具有强大的数据采集和强劲的边缘计算能力",
								icon: "icon-bianyuanwangguan",
								url: "/page/appdetail/industrial/iot/1/1.html",
							},
						]
					},
					{
						id: "",
						name: "智能硬件",
						desc: "",
						url: "",
						children: [
							{
								id: "",
								name: "终端主机",
								desc: "提供3D人脸识别、指纹识别、掌静脉识别、虹膜识别等多重系统级生物识别验证技术",
								icon: "icon-shengwushibie",
								url: "/page/appdetail/industrial/hardware/1/1.html",
							},
							{
								id: "",
								name: "智能仪器仪表",
								desc: "实现设备资产管理与设备日常运行管理的无缝对接",
								icon: "icon-zhinengyibiaopan",
								url: "",
							},
						]
					},
					{
						id: "",
						name: "网络通讯",
						desc: "",
						url: "",
						children: [
							{
								id: "",
								name: "服务器",
								desc: "企业虚拟化、自动推理、深度学习、高性能计算",
								icon: "icon-server-connection",
								url: "/page/appdetail/industrial/network/1/1.html",
							},

						]
					},
					{
						id: "",
						name: "区块链/人工智能",
						desc: "",
						url: "",
						children: [
							{
								id: "",
								name: "纺织业AI缺陷检测开放平台",
								desc: "基于智能算法的表面瑕疵检测的引入对流水线进行自动化的改造",
								icon: "icon-quexianjiance",
								url: "/page/appdetail/industrial/ai/1/1.html",
							},
							{
								id: "",
								name: "激光雷达-三维立体成像",
								desc: "融合激光雷达、视频摄像头和先进机器学习的关键技术",
								icon: "icon-jiguangleida",
								url: "/page/appdetail/industrial/ai/2/2.html",
							},
							{
								id: "",
								name: "井下矿山声纹监测系统",
								desc: "通过把监听的设备声纹信息进行处理，筛选出故障信息传送到云端服务器引擎",
								icon: "icon-jingxia",
								url: "/page/appdetail/industrial/ai/3/3.html",
							},
						]
					},
					{
						id: "",
						name: "智能装备",
						desc: "",
						url: "",
						children: [
							{
								id: "",
								name: "3D视觉激光潜伏式AGV",
								desc: "基于环境自然特征建图和定位，无需轨道和地标，可自主定位和规划路径",
								icon: "icon-AGV1",
								url: "/page/appdetail/industrial/equip/1/1.html",
							},
							{
								id: "",
								name: "货架AGV",
								desc: "适应“拆零拣选”中“货到人”拣选技术一种新的尝试",
								icon: "icon-jixiebi",
								url: "/page/appdetail/industrial/equip/2/2.html",
							},
						]
					},
				]
			},

		]
	},
	// {
	// 	id: "sthz",
	// 	name: "生态合作",
	// 	desc: "",
	// 	children: [
	// 	{
	// 		id: "sthz-cwhzhb",
	// 		name: "成为合作伙伴",
	// 		desc: "",
	// 		active: true,
	// 		children: [
	// 			{
	// 				id: "",
	// 				name: "成为合作伙伴",
	// 				desc: "",
	// 				icon: "",
	// 				url: "/page/cooperate/partner.html",
	// 			},
	// 		],
	// 	},

	// 	{
	// 		id: "sthz-kfzzx",
	// 		name: "开发者中心",
	// 		desc: "",
	// 		children: [
	// 			{
	// 				id: "",
	// 				name: "开发者中心",
	// 				desc: "",
	// 				icon: "",
	// 				url: "/page/cooperate/developerCenter.html",
	// 			},
	// 		],
	// 	},
	// 	{
	// 		id: "sthz-rztx",
	// 		name: "认证体系",
	// 		desc: "",
	// 		children: [
	// 			{
	// 				id: "",
	// 				name: "认证体系",
	// 				desc: "",
	// 				icon: "",
	// 				url: "/page/cooperate/authentication.html",
	// 			},
	// 		],
	// 	},
	// 	]
	// },
	{
		id: "gywm",
		name: "关于我们",
		desc: "",
		children: [
			{
				id: "gywm-gsjs",
				name: "公司介绍",
				desc: "",
				active: true,
				children: [
					{
						id: "",
						name: "平台介绍",
						desc: "构建起工业互联网(海创数工)平台，致力于打造智慧工业生态链系统",
						icon: "icon-gongsijieshao",
						url: "/page/hcCloud/companyIntro.html",
					},

					{
						id: "",
						name: "发展历程",
						desc: "描述公司的成长故事",
						icon: "icon-fazhanlicheng",
						url: "/page/hcCloud/developHistory.html",
					},
					{
						id: "",
						name: "荣誉资质",
						desc: "以此为新的起点，用更严格标准来要求自己",
						icon: "icon-rongyuzizhi",
						url: "/page/hcCloud/honor.html",
					},
					{
						id: "",
						name: "社会责任",
						desc: "海创数工与一带一路、数字经济、制造强国等的价值体现",
						icon: "icon-shehuizeren",
						url: "/page/hcCloud/social.html",
					},
				],
			},

			{
				id: "gywm-xwbd",
				name: "新闻报道",
				desc: "",
				children: [
					{
						id: "",
						name: "平台动态",
						desc: "及时更新海创数工平台的最新动态",
						icon: "icon-iconfontdiqiu0",
						url: "/page/hcCloud/news.html",
					},
					{
						id: "",
						name: "政策动态",
						desc: "及时更新国家最新与工业互联网相关的政策信息",
						icon: "icon-he_28zhengcexuanchuan",
						url: "/page/hcCloud/news.html",
					},
					{
						id: "",
						name: "行业资讯",
						desc: "及时更新工业互联网行业的最新资讯",
						icon: "icon-zixun",
						url: "/page/hcCloud/news.html",
					},
				],
			},
			// {
			// 	id: "gywm-jrwm",
			// 	name: "加入我们",
			// 	desc: "",
			// 	children: [
			// 		{
			// 			id: "",
			// 			name: "加入我们",
			// 			desc: "",
			// 			icon: "",
			// 			url: "/page/hcCloud/joinUs.html",
			// 		},
			// 	],
			// },
		]
	},
]
//菜单初始化
function menuInit(_data) {
	$.each(_data, function (index, item) {
		if (item.children && item.children.length > 0) {
			$(".hc-nav>li[id='hc-menu-" + item.id + "']").hover(function (event) {
				// $(".hc-nav>li[id='hc-menu-']").hover(function (event) {
				// 检测按钮是否隐藏
				var isMobileMenu = $(".hc-mb-menu-btn").is(":hidden");
				if (!isMobileMenu) {
					return;
				}
				// if ($(".hc-menu-dropdown-sub")) {
				// 	var cid = $(".hc-menu-dropdown-sub").attr("id")
				// 	if (cid && cid.includes(item.id)) {
				// 		return;
				// 	}
				// }
				$(".hc-menu-dropdown-l>ul").html("");
				$(".hc-menu-dropdown-r").html("");
				//渲染菜单列表
				$.each(item.children, function (i, item) {
					var _dom = $(`<div class="hc-menu-dropdown-sub tab-pane ${item.active ? 'active' : ''}" id="${item.id}-${i}"></div>`);
					var _nav = $(`<li class="${item.active ? 'active' : ''}"><a href="#${item.id}-${i}" data-toggle="tab"> ${item.name} </a></li>`)
					if (item.children && item.children.length > 0) {
						var _body = $("<div class='hc-menu-dropdown-sub-body'></div>");
						var _ul = $("<ul class='hc-menu-dropdown-sub-main row'></ul>");
						$.each(item.children, function (i2, item2) {
							if (item2.children && item2.children.length > 0) {
								var _body2 = $("<div class='hc-menu-dropdown-sub-body'></div>");
								var _ul2 = $("<ul class='hc-menu-dropdown-sub-main row'></ul>");
								_body2.append(`<h4 class="hc-menu-dropdown-sub-title">${item2.name}</h4>`)
								$.each(item2.children, function (i3, item3) {
									_ul2.append(`
										<li class="col-md-4">
											<a href="${item3.url ? item3.url : 'javascript:void(0);'}" 
											class="hc-menu-dropdown-sub-ctn">
												<i class="iconfont ${item3.icon ? item3.icon : ''}"></i>
												<div class="hc-menu-dropdown-sub-ctn-text">
													<h4>${item3.name}</h4>
													${item3.desc ? "<p>" + item3.desc + "</p> " : ""}
												</div >
											</a>
										</li>
										`);
								})
								_body2.append(_ul2)
								_dom.append(_body2)
							} else {
								_ul.append(`
									<li li class= "col-md-4" >
										<a href="${item2.url ? item2.url : 'javascript:void(0);'}"
											class="hc-menu-dropdown-sub-ctn">
											<i class="iconfont ${item2.icon ? item2.icon : ''}"></i>
											<div class="hc-menu-dropdown-sub-ctn-text">
												<h4>${item2.name}</h4>
												${item2.desc ? "<p>" + item2.desc + "</p> " : ""}
											</div>
										</a>
									</li>`
								);
							}

						});
						_body.append(_ul)
						_dom.append(_body);
					}
					$(".hc-menu-dropdown-l>ul").append(_nav);
					$(".hc-menu-dropdown-r").append(_dom);
				});
				//默认打开
				$(".hc-menu-dropdown").addClass("open");
			}, function (event) {
				// 移出后判断
				if (!($(event.toElement).hasClass("hc-menu-dropdown") || $(event.toElement).parents(".hc-menu-dropdown")[0] || $(event.toElement).parents("#hc-menu-" + item.id)[0])) {
					// $(".hc-menu-dropdown-l>ul").html("");
					// $(".hc-menu-dropdown-r").html("");
					$(".hc-menu-dropdown").removeClass("open");

				}
			}).on("click", function (e) {
				// 阻止冒泡
				e.stopPropagation();
				var isMobileMenu = !$(".hc-mb-menu-btn").is(":hidden");
				var _li = $(this);
				//移动版菜单
				if (isMobileMenu) {
					if (_li.find("ul.hc_submenu")[0]) {
						_li.find("ul.hc_submenu").remove();
						$(".hc-nav>li").removeClass("active");
					} else {
						$(".hc-nav ul.hc_submenu").remove();
						$(".hc-nav>li").removeClass("active");
						_li.addClass("active");
						_li.append(`<ul class= "hc_submenu" ></ul> `);
						$.each(item.children, function (i, item) {
							var _dom = $(`<li> <a href="${item.url ? t.url : 'javascript:void(0);'}">${item.name}</a></li> `);
							_li.find("ul.hc_submenu").append(_dom);
							if (item.children && item.children.length > 0) {
								_dom.children("li>a").append(`<i  class= "glyphicon glyphicon-menu-right" ></=i> `);
							}
							_dom.on("click", function (e) {
								e.stopPropagation();
								if ($(this).hasClass("active")) {
									$(this).find(".hc_thirdmenu").remove();
									$(this).removeClass("active");
								} else {
									$(".hc-nav ul.hc_submenu>li").removeClass("active");
									$(".hc-nav ul.hc_submenu>li .hc_thirdmenu").remove();
									$(this).addClass("active");
									if (item.children && item.children.length > 0) {
										_dom.append(`<ul class= "hc_thirdmenu" ></ul > `);
										$.each(item.children, function (i2, item2) {
											if (item2.children && item2.children.length > 0) {
												_dom.find(".hc_thirdmenu").append(`
													<li id="hc_thirdmenu-${i2}">
													<a href="${item2.url ? item2.url : 'javascript:void(0);'}">${item2.name}
														<i class="glyphicon glyphicon-menu-right"></i>
													</a>
													</li> `
												);
												var _dom2 = _dom.find(".hc_thirdmenu>li")
												_dom2.unbind("click").on("click", function (e) {
													e.stopPropagation();
													if ($(this).hasClass("active")) {
														$(this).find(".hc_fourthmenu").remove();
														$(this).removeClass("active");
													} else {
														$(".hc-nav ul.hc_thirdmenu>li").removeClass("active");
														$(".hc-nav ul.hc_thirdmenu>li .hc_fourthmenu").remove();
														$(this).addClass("active");
														var _this = $(this)
														_dom2.append(`<ul class="hc_fourthmenu" ></ul> `);
														var index = Number(_this.attr("id").split("-")[1])
														$.each(item.children[index].children, function (i3, item3) {
															_this.find(".hc_fourthmenu").append(`<li> <a href="${item3.url ? item3.url : 'javascript:void(0);'}">${item3.name}</a></li> `);
														})
													}
												})
											} else {
												_dom.find(".hc_thirdmenu").append(`<li> <a href="${item2.url ? item2.url : 'javascript:void(0);'}">${item2.name}</a></li > `);
											}
										});
									}
								}
							});
						});
					}
				}
			})
		}
	});
	$(document).on("mouseout", function (event) {
		if (!($(event.toElement).hasClass("hc-menu-dropdown") || $(event.toElement).parents(".hc-menu-dropdown")[0] || $(event.toElement).parents(".hc-nav")[0])) {
			// $(".hc-menu-dropdown-l>ul").html("");
			// $(".hc-menu-dropdown-r").html("");
			$(".hc-menu-dropdown").removeClass("open");
		}
	}).on("click", function (e) {
		if (!$(".hc-mb-menu-btn").is(":hidden") && !($(e.target).parents(".hc-nav")[0] || $(e.target).parents(".hc-menu-dropdown")[0])) {
			$(".hc-nav,.hc-menu-dropdown").removeClass("open");
			$(".hc-nav").find("ul.hc_submenu").remove();
			$(".hc-nav>li").removeClass("active");
		}
	});
	$(".hc-nav i").on("click", function (e) {
		// 阻止元素发生默认的行为
		e.preventDefault();
	});
	/*移动端菜单*/
	$(".hc-mb-menu-btn").on("click", function (e) {
		e.stopPropagation();
		if ($(".hc-nav").hasClass("open")) {
			$(".hc-nav").removeClass("open");
			$(".hc-nav").find("ul.hc_submenu").remove();
			$(".hc-nav>li").removeClass("active");
		} else {
			$(".hc-nav").addClass("open");
		}
	});


}


// 激活导航栏
function clactive() {
	let url = window.location.href
	if (url.indexOf("index") != -1) {
		$("#hc-index").addClass("clsactive")
	}
	// 产品与服务
	if (url.indexOf("bestworks") != -1) {
		$("#hc-menu-cpyfw").addClass("clsactive")
	}
	// 应用市场
	if (url.indexOf("appmarket") != -1) {
		$("#hc-menu-jjfa").addClass("clsactive")
	}
	// 生态合作
	if (url.indexOf("partner") != -1 || url.indexOf("appdetail") != -1) {
		$("#hc-menu-yysc").addClass("clsactive")
	}
	// eap学院
	if (url.indexOf("eapschool") != -1) {
		$("#hc-menu-sthz").addClass("clsactive")
	}
	// 关于我们
	if (url.indexOf("aboutus") != -1) {
		$("#hc-menu-gywm").addClass("clsactive")
	}

}

// 数字递增效果
function addNumber(num, id, time) {
	let dom = document.getElementById(id),
		i = 0,
		timer;
	if (i < num) {
		let speed = num / time
		timer = setInterval(function () {
			i += speed;
			if (i >= num) {
				clearInterval(timer);
				dom.innerHTML = num.toLocaleString() + "+"
			} else {
				dom.innerHTML = Math.floor(i).toLocaleString()
			}
		}, 30);
	}
}

function scrollNav(_dom, _dom2, space) {
	$(window).on("scroll", function () {
		var scrollTop = $(this).scrollTop()
		// 判断是否在底部
		var isBotton = ($(window).height() + $(window).scrollTop()) >= $(document).height();
		_dom.each(function (i, item) {
			var isShow = $(item).is(":hidden");
			if (isShow) {
				return true
			}
			if (isBotton) {
				_dom2.removeClass("active");
				$(_dom2[_dom.length - 1]).addClass("active");
			}
			var _top = $(item).offset().top - space - 60;
			if (scrollTop >= _top) {
				_dom2.removeClass("active");
				$(_dom2[i]).addClass("active");
			}
		})
	})
}


let aa = {
	sourceDsId: "eRTIJoFA",
	sourceDsCfg:
	{
		"modelFile": "eap5csxm.pro/15151.dir/MoKuai.moduledir/dataset.datadir/test1.bizstore|eRTIJoFA.BizEntity~_extFile",

		"id": "eRTIJoFA2f58917",
		"entityid": "eRTIJoFA",
		"returnTotal": false,
		"primary": ["varchara1", "inta2", "floata3"],

		"relation": {}
		,
		"sortFields": [],

		"operations": ["oquery", "odelete", "oinsert", "omodify"],

		"element": {},

	}
	,
	storeCfg:
	{
		"modelFile": "eap5csxm.pro/15151.dir/MoKuai.moduledir/dataset.datadir/test1.bizstore|eRTIJoFA.BizEntity~_extFile",

		"id": "eRTIJoFA2f58917",
		"entityid": "eRTIJoFA",
		"returnTotal": false,
		"primary": ["varchara1", "inta2", "floata3"],

		"relation": {
		}
		,
		"sortFields": [],

		"operations": ["oquery", "odelete", "oinsert", "omodify"],

		"element": {},



	}
	,
	entityDs: "entityDs",
	layout: "updown",
	queryOption: {
		fields: [



			{
				name: "varchara1",
				label: "字符1",


				props: {
				}
			}



			,


			{
				name: "inta2",
				label: "整型2",


				props:


				{
				}


			}



		]
	},
	columns: [
		{
			name: "varchara1",
			label: "字符1"
		}
		, {
			name: "inta2",
			label: "整型2"
		}
	],
}

document.addEventListener("click",function(){
	let downSelect = document.getElementById("v-down-select");
	if(downSelect) downSelect.classList.remove("active")
})